$OpenBSD: patch-configure,v 1.16 2015/03/14 20:56:14 naddy Exp $
--- configure.orig	Thu Feb 26 23:09:49 2015
+++ configure	Thu Mar  5 16:51:32 2015
@@ -12672,7 +12672,7 @@ if test -z "$GCC"; then
 		PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
 	*)
 		DEBUG="-g"
-		CFLAGS="-O"
+		CFLAGS=""
 		PROFILE="-g -p" ;;
         esac
 else
@@ -12816,9 +12816,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$
 		CFLAGS="-O3 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
 		PROFILE="-pg -g -O3 -ffast-math -D_REENTRANT -fsigned-char";;
  	*)
-		DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
-		CFLAGS="-O3 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
-		PROFILE="-O3 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+		DEBUG="-g -Wall -fsigned-char"
+		CFLAGS="-Wall -fsigned-char"
+		PROFILE="-g -pg -fsigned-char" ;;
         esac
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wdeclaration-after-statement" >&5
